import { Table } from "antd";
import React from "react";
import style from "./style.module.css";

function TableCom(props) {
  return (
    <div className={style.tableBox}>
      <Table
        columns={props.columns}
        rowKey="id"
        dataSource={props.dataSource}
      />
    </div>
  );
}

export default TableCom;

// ReactDOM.render(, mountNode);
